Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Now IE not recognizing DXL as XML during a jQuery AJAX request

Following on from my problem with Chrome, I just had this problem appear in Internet Explorer, despite having implemented the fix I mentioned.

When I looked closer, the xmlDoc.loadXML(xmlstr) method was returning false, and xmlDoc contained a parse error with the message: System error: -2146697210.Error processing resource

What I realised was that the server was trying to get to the DTD specified in the doctype (<!DOCTYPE document SYSTEM 'xmlschemas/domino_8_5_2.dtd'>) using a path relative to the Domino database I was accessing, i.e. www.myserver.com/path/path2/mydb.nsf/xmlschemas/domino_8_5_2.dtd

Obviously this was failing and causing the text not to be recognized as XML. I figure this was what was happening with Chrome as well, but as I fixed Chrome by using DOMParser, I can only assume that DOMParser lets me get away with it for some reason.

I fixed this problem using a tip from Mark Hughes in the ND6/7 forum by setting NotesDXLExporter.OutputDOCTYPE=False in the script which was producing the XML, causing Domino to drop the doctype declaration.

I'm pleased to have the problem fixed, but the fix itself seems like just making the problem go away rather than actually FIXING it, so I'm wondering whether there's a 'correct' way of getting the server to output the actual location to the DTD?

I've also found that setting ValidationStyle to VALIDATIONSTYLE_SCHEMA instead of setting OutputDOCTYPE to false works, but being of an inquisitive nature I'd like to know why it doesn't work how I originally had it, i.e. OutputDoctype=TRUE and ValidationStyle=VALIDATION_DTD

If anyone can explain it I'd be very interested to know.

Thanks,
Emily.


Feedback response number WEBB8ELMUW created by ~Mario Rejipyzenader on 03/03/2011

Google Chrome not recognizing DXL a... (~Mario Rejipyze... 1.Feb.11)
. . Not supported (~Sean Nimjumipl... 1.Feb.11)
. . Now IE not recognizing DXL as XML d... (~Mario Rejipyze... 3.Mar.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS